﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using POSSystem.DAL;

namespace POSSystem.BLL
{
    public class WishList : _WishList
    {
        public static WishList GetByCustomer(int custID, int productID)
        {
            WishList w = new WishList();
            w.Where.CustomerID.Value = custID;
            w.Where.ProductID.Value = productID;
            w.Query.Load();

            return w;
        }
    }
}
